﻿using kzjd.rycp.WebApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace kzjd.rycp.WebApp.App_Start
{
    public class EvalMemberSession
    {
        private const string Session_MEMBRE_KEY = "Eval.Member";

        public static EvalMemberSessionModel Member
        {
            get
            {
                var user = HttpContext.Current.Session[Session_MEMBRE_KEY] as EvalMemberSessionModel;
                return user;
            }
            set
            {
                HttpContext.Current.Session[Session_MEMBRE_KEY] = value;
            }
        }
    }
}